import React, { useEffect } from 'react'
import { useNavigate } from 'react-router-dom'

const NotFound:React.FC = () => {
    const navigator = useNavigate()
    useEffect(()=>{
        setTimeout(() => {
            navigator('/')
        }, 3000)
    },[])

  return (
    <div>NotFound</div>
  )
}

export default NotFound